package com.example.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.entity.resource;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * ClassName:userMapper
 * Package:com.example.demo.mapper
 * Description:
 *
 * @date:2019/12/13 10:31
 * @author:
 */
@Component
public interface resourceMapper extends BaseMapper<resource> {
    public List<resource> findByKey(String key);
    public List<resource> findAll();
}
